Restrict

annotation class Restrict(val min: Double = -Double.MAX_VALUE, val max: Double = Double.MAX_VALUE)

Annotation-driven validation for Doubles

Author

fzzyhmstrs

Since

0.2.0

Parameters

min

: Double - minimum allowable value, default to Double.MIN_VALUE

max

: Double - maximum allowable value, default to Double.MAX_VALUE

Properties

Link copied to clipboard
val max: Double
Link copied to clipboard
val min: Double